﻿using EmoneyWeiXinDAL;
using EmoneyWeiXinEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EmoneyWeiXinBLL
{
    public class MaterialBLL
    {
        public static int Insert(MaterialEntity entity)
        {
            return MaterialDAL.Insert(entity);
        }

        public static List<MaterialEntity> GetListByPage(int pageSize, int pageIndex, string whereText, string orderBy, out int totalPage)
        {
            return MaterialDAL.GetListByPage(pageSize, pageIndex, whereText, orderBy, out totalPage);
        }
    }
}
